/**
 * @file CListBox.h
 * @author SoBigDog (623644973lubin@163.com)
 * @brief 
 * @version 0.1
 * @date 2020-04-10
 * 
 * @copyright Copyright (c) 2020
 * 
 */
#pragma once

#include <vector>
#include <string>
#include "Widget.h"

class ListBox : public Widget
{
public:
	ListBox(WINDOW *, int, int, int, int);
	virtual ~ListBox();

	virtual int fresh(void);
	int push(std::vector<std::string> item);

private:
	std::vector< std::vector<std::string> > m_list;
	std::vector<int> m_list_string_pos;

	int m_line;
};